/**
 * Created by rockyren on 14-8-27.
 */
/**
 * @cfg 配置常量和对象
 */

define(function(require,exports,module){

  module.exports = {
    CVS: $('#polygon_canvas').get(0),
    CTX: $('#polygon_canvas').get(0).getContext('2d'),
    CVS_WIDTH: $('#polygon_canvas').attr('width'),
    CVS_HEIGHT: $('#polygon_canvas').attr('height'),
    AREA_WIDTH: 200,
    AREA_HEIGHT: 200,
    //多边形线条颜色,即边界颜色
    boundaryColor: "rgb(255,0,0)",
    //填充颜色(默认为屌丝蓝),根据ColorPanel的选择而改变,提供给canvasClick使用
    fillColor: "rgb(48,113,169)",

    //多边形随机生成个数 范围
    POLYGON_NUM_BASE: 10,
    POLYGON_NUM_EXTRA: 10
  }
});